#ifndef INT_PARAM_H
#define INT_PARAM_H

#include "TableParam.h"
#include "InvalidIndex.h"
#include "Util.h"

class IntParam: public TableParam {
protected:
	int *values;

public:
	IntParam();
	IntParam( int dim, int *size, const char *dimName, const char *name );
	void create( int dim, int *size, const char *dimName, const char *name );

	void read( Input &input ) throw (NotReady);

	void set( int *pos, int val ) throw (InvalidIndex, NotReady);
	int get( int *pos ) throw (InvalidIndex, NotReady);
};

#endif